package dataserver.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 *@类:巡检表
 */
@Entity
@Table(name = "scene_inspection")
@Data
@AllArgsConstructor //生成全参数构造函数
@NoArgsConstructor//生成无参构造函数
@Where(clause = "del_flag=0")
public class SceneInspection extends Base {

   /**
    * 站场id
    */
   @Column(name = "station_id")
   private String stationId;

   /**
    * 站场名称
    */
   @Column(name = "station_name")
   private String stationName;

   /**
    * 巡检路线编号
    */
   @Column(name = "route_code")
   private String routeCode;

   /**
    * 巡检路线名称
    */
   @Column(name = "route_name")
   private String routeName;

   /**
    * 巡检路线数据
    */
   @Column(name = "route_data")
   private String routeData;

}